public class Date {
    public int year;
    public int month;
    public int day;

    public Date(int year,int month,int day)
    {
        this.year=year;
        this.month=month;
        this.day=day;
    }

    public void printDay() {
        System.out.println("年 "+this.year+" 月 "+this.month+" 日 "+this.day);
    }

    public static void main(String[] args) {
        Date date=new Date(2022,11,8);
        Date date1=new Date(2022,11,9);
        Date date2=new Date(2022,11,10);
        date .printDay();
        date1.printDay();
        date2.printDay();

    }
}
